<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Data::SOSO_Base_Data_XMLReader</title>
<link href="../../../css/ea.css" rel="stylesheet" type="text/css" />
<script>
function initPage(src) {
	if(parent==this&&(this.location+"").indexOf('EARoot')!=-1)
		document.location=(this.location+"").substring(0,(this.location+"").indexOf('EARoot'))+"index"+(this.location+"").substring((this.location+"").lastIndexOf('.'))+"?goto="+((this.location+"").substring((this.location+"").indexOf('EARoot')+7,(this.location+"").lastIndexOf('.')).replace(/\//g,':').replace(/EA/g,""));
	else
		parent.initPage(src);
}
</script>
</head>
<body onload="initPage(this);" class="Content">
<div class="pageHeader"></div>
<div class="PageBody">
	<span class="ObjectTitle">SOSO_Base_Data_XMLReader  : public   class</span>
	<table border="0" cellpadding="0" cellspacing="0" class="ObjectDetails">
		<tr>
			<td width="15%" class="ObjectDetailsTopic">Created:</td>
			<td width="85%" class="ObjectDetailsValue">2009-7-22 11:03:26</td>
		</tr>
		<tr>
			<td class="ObjectDetailsTopic">Modified:</td>
			<td class="ObjectDetailsValue">2009-11-2 12:32:55</td>
		</tr>
		<tr style="height: 10px"><td colspan="2"></td></tr>
		<tr>
			<td class="ObjectDetailsTopic"><img src="../../../images/plus03.gif" align="absmiddle" id="proj" onclick="parent.toggleData(this.id)" />Project:</td>
			<td class="ObjectDetailsValue"></td>
		</tr>
		<tr id="proj00" style="display: none;">
			<td class="ObjectDetailsTopic" style="padding-left: 18px;">Author:</td>
			<td class="ObjectDetailsValue">moonzhang</td>
		</tr>
		<tr id="proj01" style="display: none;">
			<td class="ObjectDetailsTopic" style="padding-left: 18px;">Version:</td>
			<td class="ObjectDetailsValue">1.0</td>
		</tr>
		<tr id="proj02" style="display: none;">
			<td class="ObjectDetailsTopic" style="padding-left: 18px;">Phase:</td>
			<td class="ObjectDetailsValue">1.0</td>
		</tr>
		<tr id="proj03" style="display: none;">
			<td class="ObjectDetailsTopic" style="padding-left: 18px;">Status:</td>
			<td class="ObjectDetailsValue">Proposed</td>
		</tr>
		<tr id="proj04" style="display: none;">
			<td class="ObjectDetailsTopic" style="padding-left: 18px;">Complexity:</td>
			<td class="ObjectDetailsValue">Easy</td>
		</tr>
		<tr>
			<td class="ObjectDetailsTopic"><img src="../../../images/plus03.gif" align="absmiddle" id="adv" onclick="parent.toggleData(this.id)" />Advanced:</td>
			<td class="ObjectDetailsValue"></td>
		</tr>
		<tr id="adv00" style="display: none;">
			<td class="ObjectDetailsTopic" style="padding-left: 18px;">UUID:</td>
			<td class="ObjectDetailsValue">{0E90A971-5B02-44d9-8571-729B45BBC0BC}</td>
		</tr>
		<tr id="adv01" style="display: none;">
			<td class="ObjectDetailsTopic" style="padding-left: 18px;">Appears In:</td>
			<td class="ObjectDetailsValue"><a href="EA83.htm">Data</a></td>
		</tr>
	</table>
	<div class="ObjectDetailsNotes">Updates :<br />@ 2009-06-09 : 支持级联操作（依赖于配置） $columns = array( array(&#39;name&#39;=&gt;&#39;SuperCompany&#39;,&#39;mapping&#39;=&gt;&#39;company&#39;),&#39;model&#39;,&#39;b_city&#39;,&#39;b_airdrome&#39;,&#39;btime&#39;,&#39;land_city&#39;,&#39;e_airdrome&#39;, &#39;etime&#39;, array(&#39;name&#39;=&gt;&#39;discount&#39;, &#39;mapping&#39;=&gt;array(&#39;discount&#39;=&gt;array(&#39;record&#39;=&gt;&#39;item&#39;,&#39;column&#39;=&gt;array(&#39;@date&#39;,&#39;@discount&#39;))) ) );  mapping为数组的项为级联项，数组的key为待循环节点，key指定的值为新的配置项，有id也可设置id的值 如果循环key指定的节点内部的字节点，需要再指定record，如果不指定，则只对key进行循环，如： array(&#39;name&#39;=&gt;&#39;discount&#39;, &#39;mapping&#39;=&gt;array(&#39;discount&#39;=&gt;array(&#39;column&#39;=&gt;array(&#39;@date&#39;,&#39;@discount&#39;))) )</div>

	<div class="TableGroup" id="TableGroup">
		<ul class="ItemTitle">
			<li onClick="parent.toggleItem('Attributes');" id="AttributesTitle">Attributes</li>
			<li onClick="parent.toggleItem('Operations');" id="OperationsTitle">Operations</li>
			<li onClick="parent.toggleItem('Links');" id="LinksTitle">Other Links</li>
		</ul>
<div class="ItemBody" id="AttributesTable">
	<table border="0" cellspacing="0" cellpadding="0" class="Table">
		<tr>
			<td width="40%" class="TableHeading">Attribute</td>
			<td width="60%" class="TableHeading">Details</td>
		</tr>
						<tr>
				<td width="40%" class="TableRow" valign="top"><i>private var</i><br /><strong>&nbsp;&nbsp;mNeedConvert</strong></td>
				<td width="60%" class="TableRow" valign="top"><i><i>Initial:</i> false<br></i>&nbsp;</td>
			</tr>			<tr>
				<td width="40%" class="TableRow" valign="top"><i>public var</i><br /><strong>&nbsp;&nbsp;xmlData</strong></td>
				<td width="60%" class="TableRow" valign="top"><i></i>&nbsp;</td>
			</tr>
		</table>
</div><div class="ItemBody" id="OperationsTable">
	<table border="0" cellspacing="0" cellpadding="0" class="Table">
		<tr>
			<td width="40%" class="TableHeading">Operation</td>
			<td width="60%" class="TableHeading">Details</td>
		</tr>
						<tr>
				<td width="40%" class="TableRow">
					<i>public</i><br />
					<strong>__construct</strong>(<br />
					<a href="#" onclick="parent.toggleData('param{7EA29646-0F5D-427a-987B-55D596D77913}')" style="text-decoration: none; color: #000000;"><img src="../../../images/plus03.gif" align="absmiddle" id="param{7EA29646-0F5D-427a-987B-55D596D77913}" border="0" />meta: var</a>, 
					<table border="0" cellspacing="0" cellpadding="0" class="Table" style="padding: 4px 18px;">
						<tr id="param{7EA29646-0F5D-427a-987B-55D596D77913}00" style="display: none;">
							<td width="50"><strong>Default:</strong></td>
							<td></td>
						</tr>
						<tr id="param{7EA29646-0F5D-427a-987B-55D596D77913}01" style="display: none;">
							<td width="50"><strong>Kind:</strong></td>
							<td>in</td>
						</tr>
						<tr id="param{7EA29646-0F5D-427a-987B-55D596D77913}02" style="display: none;">
							<td width="50"><strong>Stereotype: </strong></td>
							<td></td>
						</tr>
						<tr id="param{7EA29646-0F5D-427a-987B-55D596D77913}03" style="display: none;">
							<td width="50"></td>
							<td></td>
						</tr>
					</table>
					<a href="#" onclick="parent.toggleData('param{E43CE488-C7B3-4daa-B485-25013D0B70B0}')" style="text-decoration: none; color: #000000;"><img src="../../../images/plus03.gif" align="absmiddle" id="param{E43CE488-C7B3-4daa-B485-25013D0B70B0}" border="0" />recordType: var</a>, 
					<table border="0" cellspacing="0" cellpadding="0" class="Table" style="padding: 4px 18px;">
						<tr id="param{E43CE488-C7B3-4daa-B485-25013D0B70B0}00" style="display: none;">
							<td width="50"><strong>Default:</strong></td>
							<td>null</td>
						</tr>
						<tr id="param{E43CE488-C7B3-4daa-B485-25013D0B70B0}01" style="display: none;">
							<td width="50"><strong>Kind:</strong></td>
							<td>in</td>
						</tr>
						<tr id="param{E43CE488-C7B3-4daa-B485-25013D0B70B0}02" style="display: none;">
							<td width="50"><strong>Stereotype: </strong></td>
							<td></td>
						</tr>
						<tr id="param{E43CE488-C7B3-4daa-B485-25013D0B70B0}03" style="display: none;">
							<td width="50"></td>
							<td></td>
						</tr>
					</table>
):var
				</td>
				<td width="60%" class="TableRow">
					<i>Sequential  </i>
					<table>
						<tr>
							<td valign = "top"><i></i><span style="margin-left: .7cm;"> </span></td>
							<td></td>
						</tr>
					</table>
					<div class="ObjectDetailsNotes"><table>
	<tr>
		<td valign="top">
			<i>Notes: </i><span style="margin-left: .4cm;"> </span>
		</td>
		<td>
			构造函数，用于初始化&quot;表&quot;meta信息,列(fields)信息 &lt;br /&gt;@param array $meta&lt;br /&gt;@param array/SOSO_Base_Data_Record $recordType
		</td>
	</tr>
</table></div>

				</td>
			</tr>
			<tr>
				<td width="40%" class="TableRow">
					<i>public</i><br />
					<strong>__destruct</strong>():var
				</td>
				<td width="60%" class="TableRow">
					<i>Sequential  </i>
					<table>
						<tr>
							<td valign = "top"><i></i><span style="margin-left: .7cm;"> </span></td>
							<td></td>
						</tr>
					</table>
					
				</td>
			</tr>
			<tr>
				<td width="40%" class="TableRow">
					<i>protected</i><br />
					<strong>convert</strong>(<br />
					<a href="#" onclick="parent.toggleData('param{03375259-1CCF-4d80-8EDD-ABA6718BA126}')" style="text-decoration: none; color: #000000;"><img src="../../../images/plus03.gif" align="absmiddle" id="param{03375259-1CCF-4d80-8EDD-ABA6718BA126}" border="0" />res: var</a>, 
					<table border="0" cellspacing="0" cellpadding="0" class="Table" style="padding: 4px 18px;">
						<tr id="param{03375259-1CCF-4d80-8EDD-ABA6718BA126}00" style="display: none;">
							<td width="50"><strong>Default:</strong></td>
							<td></td>
						</tr>
						<tr id="param{03375259-1CCF-4d80-8EDD-ABA6718BA126}01" style="display: none;">
							<td width="50"><strong>Kind:</strong></td>
							<td>in</td>
						</tr>
						<tr id="param{03375259-1CCF-4d80-8EDD-ABA6718BA126}02" style="display: none;">
							<td width="50"><strong>Stereotype: </strong></td>
							<td></td>
						</tr>
						<tr id="param{03375259-1CCF-4d80-8EDD-ABA6718BA126}03" style="display: none;">
							<td width="50"></td>
							<td></td>
						</tr>
					</table>
					<a href="#" onclick="parent.toggleData('param{5B38A600-DF16-4d94-A196-B5C3E87ABFF0}')" style="text-decoration: none; color: #000000;"><img src="../../../images/plus03.gif" align="absmiddle" id="param{5B38A600-DF16-4d94-A196-B5C3E87ABFF0}" border="0" />fromCharset: var</a>, 
					<table border="0" cellspacing="0" cellpadding="0" class="Table" style="padding: 4px 18px;">
						<tr id="param{5B38A600-DF16-4d94-A196-B5C3E87ABFF0}00" style="display: none;">
							<td width="50"><strong>Default:</strong></td>
							<td></td>
						</tr>
						<tr id="param{5B38A600-DF16-4d94-A196-B5C3E87ABFF0}01" style="display: none;">
							<td width="50"><strong>Kind:</strong></td>
							<td>in</td>
						</tr>
						<tr id="param{5B38A600-DF16-4d94-A196-B5C3E87ABFF0}02" style="display: none;">
							<td width="50"><strong>Stereotype: </strong></td>
							<td></td>
						</tr>
						<tr id="param{5B38A600-DF16-4d94-A196-B5C3E87ABFF0}03" style="display: none;">
							<td width="50"></td>
							<td></td>
						</tr>
					</table>
					<a href="#" onclick="parent.toggleData('param{8BC3CB39-09D9-4eb8-849D-423FBF16A2EB}')" style="text-decoration: none; color: #000000;"><img src="../../../images/plus03.gif" align="absmiddle" id="param{8BC3CB39-09D9-4eb8-849D-423FBF16A2EB}" border="0" />toCharset: var</a>, 
					<table border="0" cellspacing="0" cellpadding="0" class="Table" style="padding: 4px 18px;">
						<tr id="param{8BC3CB39-09D9-4eb8-849D-423FBF16A2EB}00" style="display: none;">
							<td width="50"><strong>Default:</strong></td>
							<td></td>
						</tr>
						<tr id="param{8BC3CB39-09D9-4eb8-849D-423FBF16A2EB}01" style="display: none;">
							<td width="50"><strong>Kind:</strong></td>
							<td>in</td>
						</tr>
						<tr id="param{8BC3CB39-09D9-4eb8-849D-423FBF16A2EB}02" style="display: none;">
							<td width="50"><strong>Stereotype: </strong></td>
							<td></td>
						</tr>
						<tr id="param{8BC3CB39-09D9-4eb8-849D-423FBF16A2EB}03" style="display: none;">
							<td width="50"></td>
							<td></td>
						</tr>
					</table>
):var
				</td>
				<td width="60%" class="TableRow">
					<i>Sequential  </i>
					<table>
						<tr>
							<td valign = "top"><i></i><span style="margin-left: .7cm;"> </span></td>
							<td></td>
						</tr>
					</table>
					<div class="ObjectDetailsNotes"><table>
	<tr>
		<td valign="top">
			<i>Notes: </i><span style="margin-left: .4cm;"> </span>
		</td>
		<td>
			内容编码转换 &lt;br /&gt;@param string $res&lt;br /&gt;@param string $fromCharset&lt;br /&gt;@param string $toCharset&lt;br /&gt;@return string
		</td>
	</tr>
</table></div>

				</td>
			</tr>
			<tr>
				<td width="40%" class="TableRow">
					<i>public</i><br />
					<strong>read</strong>(<br />
					<a href="#" onclick="parent.toggleData('param{DC4AFDAF-03E1-4799-9940-AFD42BE1AB0D}')" style="text-decoration: none; color: #000000;"><img src="../../../images/plus03.gif" align="absmiddle" id="param{DC4AFDAF-03E1-4799-9940-AFD42BE1AB0D}" border="0" />response: var</a>, 
					<table border="0" cellspacing="0" cellpadding="0" class="Table" style="padding: 4px 18px;">
						<tr id="param{DC4AFDAF-03E1-4799-9940-AFD42BE1AB0D}00" style="display: none;">
							<td width="50"><strong>Default:</strong></td>
							<td></td>
						</tr>
						<tr id="param{DC4AFDAF-03E1-4799-9940-AFD42BE1AB0D}01" style="display: none;">
							<td width="50"><strong>Kind:</strong></td>
							<td>in</td>
						</tr>
						<tr id="param{DC4AFDAF-03E1-4799-9940-AFD42BE1AB0D}02" style="display: none;">
							<td width="50"><strong>Stereotype: </strong></td>
							<td></td>
						</tr>
						<tr id="param{DC4AFDAF-03E1-4799-9940-AFD42BE1AB0D}03" style="display: none;">
							<td width="50"></td>
							<td></td>
						</tr>
					</table>
					<a href="#" onclick="parent.toggleData('param{6185A9C7-C695-4e15-B65C-82060BF5E710}')" style="text-decoration: none; color: #000000;"><img src="../../../images/plus03.gif" align="absmiddle" id="param{6185A9C7-C695-4e15-B65C-82060BF5E710}" border="0" />store: var</a>, 
					<table border="0" cellspacing="0" cellpadding="0" class="Table" style="padding: 4px 18px;">
						<tr id="param{6185A9C7-C695-4e15-B65C-82060BF5E710}00" style="display: none;">
							<td width="50"><strong>Default:</strong></td>
							<td>null</td>
						</tr>
						<tr id="param{6185A9C7-C695-4e15-B65C-82060BF5E710}01" style="display: none;">
							<td width="50"><strong>Kind:</strong></td>
							<td>in</td>
						</tr>
						<tr id="param{6185A9C7-C695-4e15-B65C-82060BF5E710}02" style="display: none;">
							<td width="50"><strong>Stereotype: </strong></td>
							<td></td>
						</tr>
						<tr id="param{6185A9C7-C695-4e15-B65C-82060BF5E710}03" style="display: none;">
							<td width="50"></td>
							<td></td>
						</tr>
					</table>
					<a href="#" onclick="parent.toggleData('param{99ACCDB2-7B67-4a4e-870C-D91A84BEED99}')" style="text-decoration: none; color: #000000;"><img src="../../../images/plus03.gif" align="absmiddle" id="param{99ACCDB2-7B67-4a4e-870C-D91A84BEED99}" border="0" />encoding: var</a>, 
					<table border="0" cellspacing="0" cellpadding="0" class="Table" style="padding: 4px 18px;">
						<tr id="param{99ACCDB2-7B67-4a4e-870C-D91A84BEED99}00" style="display: none;">
							<td width="50"><strong>Default:</strong></td>
							<td>null</td>
						</tr>
						<tr id="param{99ACCDB2-7B67-4a4e-870C-D91A84BEED99}01" style="display: none;">
							<td width="50"><strong>Kind:</strong></td>
							<td>in</td>
						</tr>
						<tr id="param{99ACCDB2-7B67-4a4e-870C-D91A84BEED99}02" style="display: none;">
							<td width="50"><strong>Stereotype: </strong></td>
							<td></td>
						</tr>
						<tr id="param{99ACCDB2-7B67-4a4e-870C-D91A84BEED99}03" style="display: none;">
							<td width="50"></td>
							<td></td>
						</tr>
					</table>
):var
				</td>
				<td width="60%" class="TableRow">
					<i>Sequential  </i>
					<table>
						<tr>
							<td valign = "top"><i></i><span style="margin-left: .7cm;"> </span></td>
							<td></td>
						</tr>
					</table>
					<div class="ObjectDetailsNotes"><table>
	<tr>
		<td valign="top">
			<i>Notes: </i><span style="margin-left: .4cm;"> </span>
		</td>
		<td>
			读取(解析)数据入口 &lt;br /&gt;@param String $response XML内容&lt;br /&gt;@param SOSO_Base_Data_Store $store 容器对象&lt;br /&gt;@param String $encoding 输出编码,以$store的参数优先，如未指定，则使用xml默认的编码进行输出&lt;br /&gt;@return array 返回
		</td>
	</tr>
</table></div>

				</td>
			</tr>
			<tr>
				<td width="40%" class="TableRow">
					<i>public</i><br />
					<strong>readRecords</strong>(<br />
					<a href="#" onclick="parent.toggleData('param{47EFC2AC-A33F-477c-9231-EEC2AC9F4E12}')" style="text-decoration: none; color: #000000;"><img src="../../../images/plus03.gif" align="absmiddle" id="param{47EFC2AC-A33F-477c-9231-EEC2AC9F4E12}" border="0" />doc: var</a>, 
					<table border="0" cellspacing="0" cellpadding="0" class="Table" style="padding: 4px 18px;">
						<tr id="param{47EFC2AC-A33F-477c-9231-EEC2AC9F4E12}00" style="display: none;">
							<td width="50"><strong>Default:</strong></td>
							<td></td>
						</tr>
						<tr id="param{47EFC2AC-A33F-477c-9231-EEC2AC9F4E12}01" style="display: none;">
							<td width="50"><strong>Kind:</strong></td>
							<td>in</td>
						</tr>
						<tr id="param{47EFC2AC-A33F-477c-9231-EEC2AC9F4E12}02" style="display: none;">
							<td width="50"><strong>Stereotype: </strong></td>
							<td></td>
						</tr>
						<tr id="param{47EFC2AC-A33F-477c-9231-EEC2AC9F4E12}03" style="display: none;">
							<td width="50"></td>
							<td></td>
						</tr>
					</table>
					<a href="#" onclick="parent.toggleData('param{4CCBE5E0-7C67-4023-9F72-83DF18402B6F}')" style="text-decoration: none; color: #000000;"><img src="../../../images/plus03.gif" align="absmiddle" id="param{4CCBE5E0-7C67-4023-9F72-83DF18402B6F}" border="0" />store: var</a>, 
					<table border="0" cellspacing="0" cellpadding="0" class="Table" style="padding: 4px 18px;">
						<tr id="param{4CCBE5E0-7C67-4023-9F72-83DF18402B6F}00" style="display: none;">
							<td width="50"><strong>Default:</strong></td>
							<td>null</td>
						</tr>
						<tr id="param{4CCBE5E0-7C67-4023-9F72-83DF18402B6F}01" style="display: none;">
							<td width="50"><strong>Kind:</strong></td>
							<td>in</td>
						</tr>
						<tr id="param{4CCBE5E0-7C67-4023-9F72-83DF18402B6F}02" style="display: none;">
							<td width="50"><strong>Stereotype: </strong></td>
							<td></td>
						</tr>
						<tr id="param{4CCBE5E0-7C67-4023-9F72-83DF18402B6F}03" style="display: none;">
							<td width="50"></td>
							<td></td>
						</tr>
					</table>
):var
				</td>
				<td width="60%" class="TableRow">
					<i>Sequential  </i>
					<table>
						<tr>
							<td valign = "top"><i></i><span style="margin-left: .7cm;"> </span></td>
							<td></td>
						</tr>
					</table>
					<div class="ObjectDetailsNotes"><table>
	<tr>
		<td valign="top">
			<i>Notes: </i><span style="margin-left: .4cm;"> </span>
		</td>
		<td>
			当数据被load/read后，原始XML文档可以被任意处理！&lt;br /&gt;@param DOMDocument|DOMNode|DOMElement $doc
		</td>
	</tr>
</table></div>

				</td>
			</tr>

		</table>
</div>		<div class="ItemBody" id="LinksTable">
			<table align="center" border="0" cellspacing="0" cellpadding="0" class="Table">
				<tr>
					<td width="30%" class="TableHeading">Object</td>
					<td width="15%" class="TableHeading">Type</td>
					<td width="15%" class="TableHeading">Connection</td>
					<td width="40%" class="TableHeading">Notes</td>
				</tr>
				<tr>
					<td width="30%" class="TableRow" valign="top"><a href="EA96.htm">SOSO_Base_Data_Reader</a></td>
					<td width="15%" class="TableRow" valign="top">Class</td>
					<td width="15%" class="TableRow" valign="top">Generalization</td>
					<td width="40%" class="TableRow" valign="top">&nbsp;</td>
				</tr>

			</table>
		</div>
	</div>
<div class="pageFooter"></div>
 
</body>
</html>